import code
import string


SCRIPT = [
    "a = (",
    " 1,",
    " 2,",
    " 3",
    ")",
    "print(a)"
]
script = ""
for line in SCRIPT:
    script = script + line + "\n"
    co = code.compile_command(script, "<stdin>", "exec")
    if co:
        print("-"*40)
        print(script)
        print("-"*40)
        exec(co)
        script = ""
